package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaBoxUpItem", catalog="Id")
public class TccFbaBoxUpItem extends BaseEntity<TccFbaBoxUpItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BidBoxUp", nameJava="bidBoxUp", typeDataBase="varchar")
	private String bidBoxUp;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="FbaPlanItemId", nameJava="fbaPlanItemId", typeDataBase="bigint")
	private Long fbaPlanItemId;
	@YsField(nameDataBase="TagStateGoods", nameJava="tagStateGoods", typeDataBase="tinyint")
	private Integer tagStateGoods;
	@YsField(nameDataBase="TagStateTransparent", nameJava="tagStateTransparent", typeDataBase="tinyint")
	private Integer tagStateTransparent;
	@YsField(nameDataBase="TagStateEur", nameJava="tagStateEur", typeDataBase="tinyint")
	private Integer tagStateEur;
	@YsField(nameDataBase="GoodsLink", nameJava="goodsLink", typeDataBase="varchar")
	private String goodsLink;
	@YsField(nameDataBase="PurchaseAmount", nameJava="purchaseAmount", typeDataBase="decimal")
	private BigDecimal purchaseAmount;
	@YsField(nameDataBase="PlanBoxUpNum", nameJava="planBoxUpNum", typeDataBase="int")
	private Integer planBoxUpNum;
	@YsField(nameDataBase="RealityBoxUpNum", nameJava="realityBoxUpNum", typeDataBase="int")
	private Integer realityBoxUpNum;
	@YsField(nameDataBase="AverageBoxUpNum", nameJava="averageBoxUpNum", typeDataBase="int")
	private Integer averageBoxUpNum;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaBoxUpItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBidBoxUp() {
		return bidBoxUp;
	}
	public TccFbaBoxUpItem setBidBoxUp(String bidBoxUp) {
		this.bidBoxUp = bidBoxUp;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaBoxUpItem setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public Long getFbaPlanItemId() {
		return fbaPlanItemId;
	}
	public TccFbaBoxUpItem setFbaPlanItemId(Long fbaPlanItemId) {
		this.fbaPlanItemId = fbaPlanItemId;
		return this;
	}
	public Integer getTagStateGoods() {
		return tagStateGoods;
	}
	public TccFbaBoxUpItem setTagStateGoods(Integer tagStateGoods) {
		this.tagStateGoods = tagStateGoods;
		return this;
	}
	public Integer getTagStateTransparent() {
		return tagStateTransparent;
	}
	public TccFbaBoxUpItem setTagStateTransparent(Integer tagStateTransparent) {
		this.tagStateTransparent = tagStateTransparent;
		return this;
	}
	public Integer getTagStateEur() {
		return tagStateEur;
	}
	public TccFbaBoxUpItem setTagStateEur(Integer tagStateEur) {
		this.tagStateEur = tagStateEur;
		return this;
	}
	public String getGoodsLink() {
		return goodsLink;
	}
	public TccFbaBoxUpItem setGoodsLink(String goodsLink) {
		this.goodsLink = goodsLink;
		return this;
	}
	public BigDecimal getPurchaseAmount() {
		return purchaseAmount;
	}
	public TccFbaBoxUpItem setPurchaseAmount(BigDecimal purchaseAmount) {
		this.purchaseAmount = purchaseAmount;
		return this;
	}
	public Integer getPlanBoxUpNum() {
		return planBoxUpNum;
	}
	public TccFbaBoxUpItem setPlanBoxUpNum(Integer planBoxUpNum) {
		this.planBoxUpNum = planBoxUpNum;
		return this;
	}
	public Integer getRealityBoxUpNum() {
		return realityBoxUpNum;
	}
	public TccFbaBoxUpItem setRealityBoxUpNum(Integer realityBoxUpNum) {
		this.realityBoxUpNum = realityBoxUpNum;
		return this;
	}
	public Integer getAverageBoxUpNum() {
		return averageBoxUpNum;
	}
	public TccFbaBoxUpItem setAverageBoxUpNum(Integer averageBoxUpNum) {
		this.averageBoxUpNum = averageBoxUpNum;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaBoxUpItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaBoxUpItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaBoxUpItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaBoxUpItem tccFbaBoxUpItem(
		String bidBoxUp,
		String bidFbaPlan,
		Long fbaPlanItemId,
		Integer tagStateGoods,
		Integer tagStateTransparent,
		Integer tagStateEur,
		String goodsLink,
		BigDecimal purchaseAmount,
		Integer planBoxUpNum,
		Integer realityBoxUpNum,
		Integer averageBoxUpNum,
		Integer status
			) {
		TccFbaBoxUpItem entity = new TccFbaBoxUpItem();
		entity.setBidBoxUp(bidBoxUp);
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setFbaPlanItemId(fbaPlanItemId);
		entity.setTagStateGoods(tagStateGoods);
		entity.setTagStateTransparent(tagStateTransparent);
		entity.setTagStateEur(tagStateEur);
		entity.setGoodsLink(goodsLink);
		entity.setPurchaseAmount(purchaseAmount);
		entity.setPlanBoxUpNum(planBoxUpNum);
		entity.setRealityBoxUpNum(realityBoxUpNum);
		entity.setAverageBoxUpNum(averageBoxUpNum);
		entity.setStatus(status);
		return entity;
	}
}